package org.shark.jdbcTemplateTool.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by lenovo on 2016/8/16.
 */
@SuppressWarnings("serial")
public class SqlNotFoundException extends RuntimeException {

    protected static final Logger log = LoggerFactory.getLogger(SqlNotFoundException.class);

    public SqlNotFoundException(String sqlId){
        super("sql语句不存在：sql id是" + sqlId);
        log.error("sql语句不存在：sql id是" + sqlId);
    }
}
